how to make sure a power supply is working properly